package com.geekca.card;

public class SilverCard extends Card {
    SilverCard(int money, String masterName) {
        super(money, masterName);
    }

    @Override
    public double pay(int fee) {
        this.money-=fee*0.85;
        return (fee * 0.85);
    }
}
